- 
		Home
	
 
	- 
Jetpack – WP Security, Backup, Speed, & Growth
 
- 
15.0.2
 
- 
Code
 
- 
Classes
 
-  Waf_Runtime 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											136 | 
										
																			
											| Dependencies | 
											8 | 
										
																			
											| Dependents | 
											1 | 
										
																	
							 
													
								
																			
											| Total lines | 
											790 | 
										
																			
											| Lines of code | 
											416 | 
										
																			
											| Logical lines of code | 
											271 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											296 | 
										
																			
											| Methods | 
											27 | 
										
																			
											| Properties | 
											14 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 27
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| normalize_targets() | 
									C  | 
																	37 | 
													28 | 
													67 | 
							
					
				| meta() | 
									C  | 
																	36 | 
													24 | 
													80 | 
							
					
				| normalize_array_target() | 
									A  | 
																	47 | 
													10 | 
													35 | 
							
					
				| update_targets() | 
									A  | 
																	51 | 
													10 | 
													28 | 
							
					
				| block() | 
									A  | 
																	50 | 
													9 | 
													26 | 
							
					
				| match_targets() | 
									A  | 
																	47 | 
													8 | 
													35 | 
							
					
				| is_ip_in_array() | 
									S  | 
																	56 | 
													6 | 
													17 | 
							
					
				| key_matches() | 
									S  | 
																	61 | 
													5 | 
													12 | 
							
					
				| rule_removed() | 
									S  | 
																	63 | 
													4 | 
													11 | 
							
					
				| flag_target_for_removal() | 
									S  | 
																	63 | 
													4 | 
													10 | 
							
					
				| state_values() | 
									S  | 
																	63 | 
													3 | 
													10 | 
							
					
				| set_body_processor() | 
									S  | 
																	73 | 
													3 | 
													5 | 
							
					
				| __construct() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| is_ip_allowed_for_recovery() | 
									S  | 
																	74 | 
													2 | 
													4 | 
							
					
				| allow_login_or_prompt_recovery() | 
									S  | 
																	66 | 
													2 | 
													8 | 
							
					
				| flag_rule_for_removal() | 
									S  | 
																	69 | 
													2 | 
													7 | 
							
					
				| get_var() | 
									S  | 
																	73 | 
													2 | 
													5 | 
							
					
				| inc_var() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| dec_var() | 
									S  | 
																	70 | 
													2 | 
													6 | 
							
					
				| get_ip_hash() | 
									S  | 
																	75 | 
													1 | 
													4 | 
							
					
				| redirect() | 
									S  | 
																	72 | 
													1 | 
													5 | 
							
					
				| set_var() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| unset_var() | 
									S  | 
																	80 | 
													1 | 
													3 | 
							
					
				| get_body_processor() | 
									S  | 
																	82 | 
													1 | 
													3 | 
							
					
				| normalize_header_name() | 
									S  | 
																	78 | 
													1 | 
													3 | 
							
					
				| args_names() | 
									S  | 
																	67 | 
													1 | 
													9 | 
							
					
				| sanitize_output() | 
									S  | 
																	65 | 
													1 | 
													7 |